for a in range(1,21):
    for b in range(1,21):
        for c in range(1,21):
            if a<b:
                if b<c:
                    if a*a+b*b==c*c:
                        print(a,b,c)
